<!--
 * @Descripttion: 
 * @version: 
 * @Author: dawn
 * @Date: 2020-11-16 17:00:03
 * @LastEditors: dawn
 * @LastEditTime: 2020-11-17 16:21:30
-->
<!--
 * @Descripttion: 
 * @version: 
 * @Author: dawn
 * @Date: 2020-11-16 16:59:11
 * @LastEditors: dawn
 * @LastEditTime: 2020-11-16 18:21:52
-->
<template>
    <div class="two">
        <div style="margin-right: 20px;" class="color">入口二页面</div>
        <button @click="handleClick">欢迎进入入口一页面</button>
    </div>
</template>

<script>
    export default {
        name: 'Two',
        data() {
            return {
                
            }
        },
        methods: {
            handleClick() {
                this.$router.push('/one')
            }
        }
    }
</script>

<style scoped>
    .one{
        display: flex;
        justify-content: center;
    }
    .color{
        color: green;
    }
</style>